Kristian Rietveld [Wed, 23 Dec 2009 07:31:21 +0000 (08:31 +0100)]
Fix call to update_prelight()
Seems like some minus signs sneaked in while diffing and reapplying...
Fixes regression noted in 480065.
Theppitak Karoonboonyanan [Wed, 23 Dec 2009 00:59:08 +0000 (07:59 +0700)]
Updated Thai translation.
Jonh Wendell [Tue, 22 Dec 2009 14:18:05 +0000 (11:18 -0300)]
Fix a memory leak in gtk_label_compose_effective_attrs()
Matthias Clasen [Tue, 22 Dec 2009 03:51:08 +0000 (22:51 -0500)]
Forgotten news
Matthias Clasen [Tue, 22 Dec 2009 03:26:43 +0000 (22:26 -0500)]
Bump version and add dist-bzip2
Matthias Clasen [Tue, 22 Dec 2009 03:24:59 +0000 (22:24 -0500)]
2.19.2
Kristian Rietveld [Mon, 21 Dec 2009 21:33:59 +0000 (22:33 +0100)]
Correct problems with earlier fix for bug #480065
Initialize event_last_[xy] to out of range coordinates and also update
these values in enter and leave notify. Fix up calls to
update_prelight() from size allocate. Unconditionally doing these calls
caused problems with hover selection. Now we only do this call when
the "width before the expander column" has changed. (Which might be
awkward, but it is the best heuristic I could come up with so far).
Kristian Rietveld [Thu, 26 Nov 2009 20:05:01 +0000 (21:05 +0100)]
Bug 480065 - wrong tree collapsed (or expanded) after having scrolled
Commit again after revert.
Store (x, y) of last motion event. From
gtk_tree_view_adjustment_changed(), call prelight_or_select() so that
the prelight is recalculated. We do the same from
gtk_tree_view_size_allocate() for the case that clicking on an expander
shows new rows that resize the column(s) left of the expander. This
means that the expander is moved horizontally, in such a case the
prelight also has to be reconsidered.
Matthias Clasen [Mon, 21 Dec 2009 21:07:21 +0000 (16:07 -0500)]
Updates
Tor Lillqvist [Mon, 21 Dec 2009 20:42:55 +0000 (22:42 +0200)]
Add gdk_keymap_map_virtual_modifiers() implementation
Matthias Clasen [Mon, 21 Dec 2009 20:27:46 +0000 (15:27 -0500)]
Fix a think in the CSW input extension handling
This was causing stack overflow due to an obvious infinite recursion.
See e.g. RH #548849.
Matthias Clasen [Mon, 21 Dec 2009 18:13:36 +0000 (13:13 -0500)]
Fix make check
Matthias Clasen [Mon, 21 Dec 2009 16:29:12 +0000 (11:29 -0500)]
Improve selection/arrow key behaviour in GtkTextView
This patch makes the text view behave more similar to entries.
Patch by Michael Natterer, see bug 50942
Matthias Clasen [Mon, 21 Dec 2009 16:26:11 +0000 (11:26 -0500)]
Add a release note about virtual modifiers
Matthias Clasen [Mon, 21 Dec 2009 16:15:28 +0000 (11:15 -0500)]
Try harder to handle accelerators involving virtual modifiers
This patch changes GDK to add all matching virtual modifiers in
the state field of the key event. The corresponding GTK+ change makes
use of a new GdkKeymap function to map virtual modifiers back to
real modifiers and detect conflicts while doing so.
This should fix bug 603190 and bug 427409.
Richard Hughes [Mon, 21 Dec 2009 08:53:28 +0000 (08:53 +0000)]
Add icc-profile option to gdk-pixbuf for the TIFF image format
Javier Jardón [Wed, 14 Oct 2009 21:44:59 +0000 (23:44 +0200)]
Move documentation to inline comments: GtkMountOperation
https://bugzilla.gnome.org/show_bug.cgi?id=597865
Javier Jardón [Fri, 18 Dec 2009 00:59:21 +0000 (01:59 +0100)]
Move documentation to inline comments: GtkImage
https://bugzilla.gnome.org/show_bug.cgi?id=597865
Javier Jardón [Mon, 21 Dec 2009 05:05:51 +0000 (06:05 +0100)]
Move documentation to inline comments: GtkFileChooser
Also, use Gtk-Doc markup to improve documentation
cross-references.
https://bugzilla.gnome.org/show_bug.cgi?id=597865
Benjamin Otte [Mon, 21 Dec 2009 01:43:10 +0000 (02:43 +0100)]
Build adds not-yet-built libgtk-x11-2.0.la into the linker flags
Commit
9e7c91bf83fd21a559b5658d02a1466deb4de919 added a bit too many
LDFLAGS to the build of gtk-update-icon-cache, revert it to only use the
required ones. Bug 605036
Matthias Clasen [Sun, 20 Dec 2009 23:32:58 +0000 (18:32 -0500)]
Make mnemonic hiding work for printer option widgets
By making the widget itself insensitive.
Matthias Clasen [Sun, 20 Dec 2009 23:29:47 +0000 (18:29 -0500)]
More auto-mnemonics tweaks
When auto-mnemonics are on, hide mnemonics with insensitive target.
Matthias Clasen [Sun, 20 Dec 2009 23:20:42 +0000 (18:20 -0500)]
Some improvements to the auto-mnemonics code
Matthias Clasen [Sun, 20 Dec 2009 22:56:28 +0000 (17:56 -0500)]
Handle reading the create-folders property
Javier Jardón [Sun, 20 Dec 2009 20:17:34 +0000 (21:17 +0100)]
Fix compilation warning: cast to GTK_WIDGET()
Javier Jardón [Sun, 20 Dec 2009 20:13:26 +0000 (21:13 +0100)]
Fix compilation warning: use the correct conversion specifier
Use G_GSIZE_FORMAT instead of %d
Jorge González [Sun, 20 Dec 2009 12:37:45 +0000 (13:37 +0100)]
Updated Spanish translation
Matthias Clasen [Sun, 20 Dec 2009 08:04:52 +0000 (03:04 -0500)]
Only show the mnemonic underline when pressing Alt
...and show them in menus when navigating the menu with the keyboard.
This is similar to what other platforms do, and reduces visual clutter.
There is a setting to control this. Most of the work on this patch was
done by Thomas Wood. See bug 588554.
Matthias Clasen [Sun, 20 Dec 2009 08:04:08 +0000 (03:04 -0500)]
Small documentation correction
Matthias Clasen [Sat, 19 Dec 2009 18:51:12 +0000 (13:51 -0500)]
Properly free damage events
This was reported in bug 605008
Benjamin Otte [Sat, 19 Dec 2009 17:37:39 +0000 (18:37 +0100)]
Fix up linker flags
This adds LDFLAGS everywhere where they were previously pulled in via
other libraries. This is however unsupported by modern linkers.
You can trigger these failures by building with gold (or, I'm told, with
very new ld).
Benjamin Otte [Sat, 19 Dec 2009 12:46:18 +0000 (13:46 +0100)]
Disconnect signal handlers on adjustment in destroy handler
Not removing the signal handler caused crashes if the adjustment
survived longer than the scrolled window and still emitted signals. This
could happen inside WebKit.
Jorge González [Sat, 19 Dec 2009 12:31:19 +0000 (13:31 +0100)]
Updated Spanish translation
Carlos Garcia Campos [Sat, 19 Dec 2009 11:28:46 +0000 (12:28 +0100)]
Fix a crash on print preview
There's no printer when doing print preview so it's not possible to get
its hard margins.
Dan Winship [Fri, 18 Dec 2009 10:58:36 +0000 (11:58 +0100)]
Change GtkIconSize to int in params/return values
GtkIconSize is an extensible enumeration (via
gtk_icon_size_register()), so methods that claim to take/return a
GtkIconSize need to actually use "int" to work correctly with bindings
that are strict about enum values.
https://bugzilla.gnome.org/show_bug.cgi?id=604895
Dan Winship [Fri, 18 Dec 2009 10:45:14 +0000 (11:45 +0100)]
Fix out/transfer annotations on GtkImage getters
https://bugzilla.gnome.org/show_bug.cgi?id=604895
Matthias Clasen [Sat, 19 Dec 2009 02:47:03 +0000 (21:47 -0500)]
Fix doc typos
Reported in bug 604902.
Javier Jardón [Fri, 18 Dec 2009 03:34:15 +0000 (04:34 +0100)]
[docs] Cast to GFunc in gtk_tree_selection_get_selected_rows() example code
Reported by Diego Escalante Urrelo here:
https://bugzilla.gnome.org/show_bug.cgi?id=502266
Hiroyuki Ikezoe [Sat, 19 Dec 2009 00:18:14 +0000 (01:18 +0100)]
[gtk] GtkCellEditable::editing-cancelled should be writable
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=604881
Signed-off-by: Javier Jardón <jjardon@gnome.org>
Matthias Clasen [Sat, 19 Dec 2009 00:17:04 +0000 (19:17 -0500)]
Fix a thinko in computing damage for segments
The code was not taking the endpoint of the first segment into account.
This was reported in bug 604747.
Matthias Clasen [Fri, 18 Dec 2009 23:43:32 +0000 (18:43 -0500)]
Ensure native windows in gdk_property_change
Using X properties on non-toplevel windows is somewhat exotic,
but some people seem to do it, so better to keep it working.
See bug 604787.
Torsten Schoenfeld [Fri, 18 Dec 2009 19:58:26 +0000 (20:58 +0100)]
[docs] Add some 'Since: 2.4' tags
This patch adds Since: 2.4 tags to gtk_bindings_activate_event,
gtk_window_propagate_key_event and gtk_window_activate_key.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=604859
Signed-off-by: Javier Jardón <jjardon@gnome.org>
Hiroyuki Ikezoe [Thu, 17 Dec 2009 10:35:34 +0000 (19:35 +0900)]
Use g_value_dup_string instead.
g_value_get_string and g_strdup should be replaced by
g_value_dup_string.
Richard Hughes [Fri, 18 Dec 2009 15:17:13 +0000 (15:17 +0000)]
Add color management support to gdk_pixbuf_save
This patch adds an icc-profile option to a GdkPixbuf which can
be used to read or write an embedded ICC profile.
Add PNG support for now, but other image formats are awaiting
review.
Alexander Larsson [Fri, 18 Dec 2009 14:35:04 +0000 (15:35 +0100)]
Actually send exposes from gdk_window_clear_area_e
Javier Jardón [Thu, 17 Dec 2009 18:17:22 +0000 (19:17 +0100)]
Add 'Since: 2.18' tag
Add missing 'Since:' tag in gdk_window_get_root_coords() and
gdk_window_is_destroyed()
Reported by Rafal Luzynski in
https://bugzilla.gnome.org/show_bug.cgi?id=604821
Nguyễn Thái Ngọc Duy [Fri, 18 Dec 2009 09:07:40 +0000 (16:07 +0700)]
vi.po: Updated Vietnamese translation
Christian Dywan [Thu, 17 Dec 2009 09:41:11 +0000 (10:41 +0100)]
Use gtk_widget_get_tooltip_text for gtk_tooltips_data_get in Gail
Tor Lillqvist [Wed, 16 Dec 2009 23:50:47 +0000 (01:50 +0200)]
Make the OLE2 DND code selectable at run-time instead of compile-time
(It still doesn't work, though.)
Johan Dahlin [Wed, 16 Dec 2009 19:30:53 +0000 (17:30 -0200)]
Make sure dist check includes introspection
Johan Dahlin [Mon, 14 Dec 2009 23:50:47 +0000 (21:50 -0200)]
Bump the required introspection version
Makefile.introspection was added in 0.6.7
Johan Dahlin [Mon, 14 Dec 2009 23:47:39 +0000 (21:47 -0200)]
Use Makefile.introspection
Use the new fancy rules from the Makefile.introspection, it makes
the rules prettier and avoids quite a bit of duplication
Johan Dahlin [Mon, 14 Dec 2009 23:46:42 +0000 (21:46 -0200)]
Update introspection.m4
This one includes the INTROSPECTION_MAKEFILE variable
which we will include in all Makefiles which are going
to build introspection girs/typelibs
Johan Dahlin [Thu, 10 Dec 2009 19:22:17 +0000 (17:22 -0200)]
Bump required introspection version to 0.6.6
Johan Dahlin [Thu, 10 Dec 2009 14:04:48 +0000 (12:04 -0200)]
Make sure dist check works with introspection
We need to prepend the srcdir to all variables
passed into the scanner as it runs with srcdir != builddir during
distcheck.
Johan Dahlin [Thu, 10 Dec 2009 14:03:58 +0000 (12:03 -0200)]
Re-add accidentially removed gtkintl header
Johan Dahlin [Thu, 10 Dec 2009 11:58:51 +0000 (09:58 -0200)]
Add no-portability option to automake
We require GNU Make and has done so for a while already
Colin Walters [Thu, 10 Dec 2009 10:23:40 +0000 (08:23 -0200)]
[introspection] Merge in Gtk-custom.c annotations
The Gtk-custom.c file in gir-repository contained a number of
introspection annotations. Merge those into the GTK source files.
Some documentation was moved from the tmpl/ files to accomodate
the addition of annotations.
Johan Dahlin [Wed, 9 Dec 2009 22:12:46 +0000 (20:12 -0200)]
Bump the required version of autoconf to 2.62
It's need by the new introspection macro.
Johan Dahlin [Wed, 9 Dec 2009 18:47:00 +0000 (16:47 -0200)]
Separate private from public gdk headers
We don't want to parse the private gdk headers when
creating the GIR.
Johan Dahlin [Wed, 9 Dec 2009 18:46:25 +0000 (16:46 -0200)]
Add an m4 directory and a introspection.m4
So we don't need the introspection.m4 file
to create a dist of gtk+
Tomeu Vizoso [Wed, 9 Dec 2009 18:10:46 +0000 (16:10 -0200)]
Add a few more annotations to GtkIconTheme
Colin Walters [Tue, 18 Aug 2009 18:35:10 +0000 (14:35 -0400)]
Merge in Gdk-custom.c introspection annotations
The Gdk-custom.c file in gir-repository contained a number of
introspection annotations. Merge those into the GDK source files.
Some documentation was moved from the tmpl/ files to accomodate
the addition of annotations.
https://bugzilla.gnome.org/show_bug.cgi?id=592279
Colin Walters [Tue, 18 Aug 2009 18:34:21 +0000 (14:34 -0400)]
Build introspection data for gdk-pixbuf, gdk, and gtk
Generate .gir and .typelib files for gdk-pixbuf, gdk, and gtk.
https://bugzilla.gnome.org/show_bug.cgi?id=592279
Tor Lillqvist [Wed, 16 Dec 2009 11:47:57 +0000 (13:47 +0200)]
Add copyright note and comment for merged old code
Tor Lillqvist [Wed, 16 Dec 2009 11:04:29 +0000 (13:04 +0200)]
Work on OLE2-based generic DND
Intermediate commit of work in progress on integrating the old code
for OLE2-based generic drag and drop from Arhaeopteryx Software, from
a long time ago in the GTK+ 1.3 timeframe. Does still not work and is
as before not compiled in unless OLE2_DND is defined in
gdkdnd-win32.c. (Thus, for inter-process DND, still only WM_DROPFILES
style dropping of files on GTK+ apps works.)
Related slight refactoring of other code that shouldn't change how it
works. Add more global variables for run-time constants (once
initialized) representing well-known GdkAtoms and registered Windows
clipboard formats, as they with the generic DND code will be needed in
several source files. Some improved debugging output.
Tor Lillqvist [Sun, 15 Nov 2009 01:49:22 +0000 (03:49 +0200)]
Make more GdkAtom variables visible in all gdk/win32 files
Make the GdkAtoms for the image formats extern and usable from all
gdk/win32 files.
Tor Lillqvist [Sun, 15 Nov 2009 01:45:15 +0000 (03:45 +0200)]
Make the gdk/win32 event debug printing function non-static
Make print_event() extern and rename it to _gdk_win32_print_event() so
it can be used from all gdk/win32 source files.
Tor Lillqvist [Sun, 15 Nov 2009 00:51:44 +0000 (02:51 +0200)]
Remove unused functions and variables
Benjamin Otte [Wed, 16 Dec 2009 10:48:11 +0000 (11:48 +0100)]
Revert
dd511e825aef9edada30107b3d891d496cc39fd8
The patch completely breaks entry completion - as can be seen when using
epiphany. Bug 480065 has been reopened.
Javier Jardón [Wed, 9 Dec 2009 22:54:17 +0000 (23:54 +0100)]
Add info about single includes when compiling GTK+ apps
gtk.h, gdk.h, gdk-pixbuf.h. are the recommended includes.
But there are some exceptions: gdkkeysyms.h, gdkx.h and
gtkunixprint.h
https://bugzilla.gnome.org/show_bug.cgi?id=604117
Matthew Barnes [Tue, 15 Dec 2009 13:00:44 +0000 (08:00 -0500)]
Bug 602099 - Actions can be activatable too
Add a couple type checks in gtk_activatable_do_set_related_action() to
allow both GtkWidgets and GtkActions to implement GtkActivatable. Bug
602099 describes a use case for this.
Also add a GObject prerequisite to the GtkActivatable interface.
Matthias Clasen [Sat, 19 Dec 2009 18:12:16 +0000 (13:12 -0500)]
Fix a typo
Matthias Clasen [Sat, 19 Dec 2009 15:31:16 +0000 (10:31 -0500)]
implement extended layout for GtkCellRendererText
Matthias Clasen [Sat, 19 Dec 2009 15:23:58 +0000 (10:23 -0500)]
implement extended layout for GtkCellView
Matthias Clasen [Sat, 19 Dec 2009 07:07:51 +0000 (02:07 -0500)]
implement extended layout for GtkTreeView and GtkTreeViewColumn
Matthias Clasen [Sat, 19 Dec 2009 06:23:58 +0000 (01:23 -0500)]
Implement extended layout for plug/socket
Matthias Clasen [Sat, 19 Dec 2009 05:57:49 +0000 (00:57 -0500)]
Implement extended layout for GtkScrolledWindow
Matthias Clasen [Sat, 19 Dec 2009 05:34:04 +0000 (00:34 -0500)]
Implement extended layout for GtkBin
Matthias Clasen [Sat, 19 Dec 2009 04:44:43 +0000 (23:44 -0500)]
Make it compile
Johannes Schmid [Mon, 14 Dec 2009 16:24:52 +0000 (17:24 +0100)]
native-layout: Change test-case so that it is more obvious that the algorithm tries to show as many
widgets with full size as possible.
Johannes Schmid [Mon, 14 Dec 2009 16:16:21 +0000 (17:16 +0100)]
native-layout: Fix typo that brakes layout completely
Johannes Schmid [Mon, 14 Dec 2009 15:30:26 +0000 (16:30 +0100)]
native-layout: Bump version of GtkExtendedLayout gtk-doc comments to 2.20
Johannes Schmid [Mon, 14 Dec 2009 15:28:56 +0000 (16:28 +0100)]
native-layout: Don't expose extra gtk_widget_* function that are similar to the GtkExtendedLayout interface
Johannes Schmid [Mon, 14 Dec 2009 14:36:22 +0000 (15:36 +0100)]
Merge branch 'master' into native-layout
Johannes Schmmid [Wed, 2 Dec 2009 08:48:42 +0000 (09:48 +0100)]
native-layout: Introduce GtkExtendedLayout interface.
Matthias Clasen [Mon, 14 Dec 2009 01:40:02 +0000 (20:40 -0500)]
Implement gdk_screen_get_primary_monitor in all GDK backends
The implementations are all trivial, just returning 0. At least
for Quartz, we could probably do better than that. Bug 604459.
Matthias Clasen [Mon, 14 Dec 2009 01:32:46 +0000 (20:32 -0500)]
Fix gtk_tool_item_get_text_size_group return value
Reported by Kazuki Iwamoto in bug 604462.
Jorge González [Sun, 13 Dec 2009 08:55:01 +0000 (09:55 +0100)]
Updated Spanish translation
Christian Dywan [Fri, 11 Dec 2009 16:17:38 +0000 (17:17 +0100)]
Reset the pressed state of a button when the screen changes
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=599397
Nils-Christoph Fiedler [Fri, 11 Dec 2009 08:16:09 +0000 (09:16 +0100)]
Updated LowGerman translation
Sven Herzberg [Thu, 10 Dec 2009 16:34:29 +0000 (17:34 +0100)]
let the close button reflect the page_complete status of SUMMARY pages
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=604289
In order to respect this properly, we have to restore the original
behavior by watching a flag to check if the user has already set this.
* gtk/gtkassistant.c: fix the bug by introducing a flag to check for
non-automatic value setting
* tests/testassistant.c: updated the "generous assistant" to permit
quick manual testing of this feature
Johan Dahlin [Thu, 10 Dec 2009 14:04:14 +0000 (12:04 -0200)]
Fix the builder tests
Cody Russell [Thu, 10 Dec 2009 05:20:30 +0000 (23:20 -0600)]
Add gdk_screen_get_primary_monitor to gdk.symbols
Danielle Madeley [Wed, 9 Dec 2009 04:48:58 +0000 (15:48 +1100)]
Fix GTK_TREE_MODEL_FILTER_GET_CLASS macro
Cody Russell [Tue, 8 Dec 2009 17:27:02 +0000 (11:27 -0600)]
Add gdk_screen_get_primary_monitor(). This fixes bug #601712
Matthias Clasen [Tue, 8 Dec 2009 15:09:04 +0000 (10:09 -0500)]
Never do implicit paints for foreign windows
They don't need double buffer combination since they have no
client-side children, and creating pixmaps for them is risky
since they could disappear at any time.
May fix bug 598476 and 603652.
Matthias Clasen [Tue, 8 Dec 2009 14:58:23 +0000 (09:58 -0500)]
Set colormap of offscreen pixmaps
This fixes problems in clutter-gtk. See bug 603619.
Alexander Larsson [Tue, 8 Dec 2009 11:28:44 +0000 (12:28 +0100)]
Fix up last commit
Alexander Larsson [Tue, 8 Dec 2009 11:19:00 +0000 (12:19 +0100)]
Handle input extension events when making a window native
It may happen when turning a client side window into a native window
that the window, or some of its children with the same native parent
have extension events enabled, and thus have an input window enabled
for the native parent which needs to change as the window is made
native.
We fix this by temporarily disabling extension events on all the affected
windows while we create the native window, and then reenable them afterwards.
This fixes: https://bugzilla.redhat.com/show_bug.cgi?id=544624